package com.zmn.oms.services.interfaces.refund;

import com.zmn.oms.model.entity.refund.OrderWorkRefundDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName OrderWorkRefundDetailService
 * @description:
 * @author: wangyanci
 * @create: 2021-09-14 10:49
 * @Version 1.0
 **/
public interface OrderWorkRefundDetailService {

    OrderWorkRefundDetail findOrderWorkRefundDetailByOrderIdAndWorkId(Long orderId, Long workId);

    int insertOrderWorkRefundDetail(OrderWorkRefundDetail orderWorkRefundDetail);

    int updateByDetailId(OrderWorkRefundDetail orderWorkRefundDetail);

    List<OrderWorkRefundDetail> listOrderWorkRefundDetailByOrderIdList(List<Long> orderIdList);

    List<OrderWorkRefundDetail> findAll();
}
